straighten out the situation

Translations
разрешить ситуацию
We need to straighten out the situation before it gets worse.
Нам нужно разрешить ситуацию, пока она не ухудшилась.